#include "stoprealtimeplay.h"
#include "playmodemanage.h"
#include "common.h"

#include <QDebug>

bool StopRealtimePlayHandler(int socket, int commandLength)
{
	qDebug()<<"Stop real play command";
	StopRealtimePlay stopRealtimePlay;
	stopRealtimePlay.doCommand();

	SetPlayMode(PlayListMode);
	Reloader().reloadPlayList(g_MainWindowNo);
	Reloader().reloadVolumeList();

	return true;
}
